-
-
Notifications
You must be signed in to change notification settings - Fork 51
[Platform] Add ElevenLabs as platform #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
4d17e07
to
2abb1b5
Compare
src/platform/src/Bridge/ElevenLabs/ElevenLabsResultConverter.php
Outdated
Show resolved
Hide resolved
src/platform/src/Contract/Normalizer/Message/Content/AudioNormalizer.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was a bit in a hurry but left some comments - definitely looking forward to play around with it - thanks for working on it! 🙏
2abb1b5
to
85fae76
Compare
a2e3bcf
to
dbd8dfe
Compare
c1b3ae4
to
ee43d7b
Compare
ee43d7b
to
7b6ea03
Compare
7b6ea03
to
21168a7
Compare
@@ -2,3 +2,4 @@ | |||
.transformers-cache | |||
composer.lock | |||
vendor | |||
tmp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of this, what about using sys_get_temp_dir
as default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, thing is, this directory is only used for examples, if we want the developer who's using the examples to access the file, the sys_get_temp_dir
is probably not the best fit 🤔
src/ai-bundle/config/options.php
Outdated
->children() | ||
->scalarNode('host')->end() | ||
->scalarNode('api_key')->isRequired()->end() | ||
->scalarNode('output_path')->isRequired()->end() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about having a sensible default here using kernel.project_dir/var ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about %kernel.project_dir%/var/eleven_labs
?
Hi 👋🏻
As discussed in #263,
ElevenLabs
can be more than just a tool for agents, the idea of a platform was discussed so here it is.PS: Both TTS and STT examples are working "as expected" (the TTS one generate a file as we can't run the file).